package cn.usian;

import org.mybatis.spring.annotation.MapperScan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.concurrent.*;

@MapperScan("cn.usian.dao")
@ServletComponentScan(basePackages = "cn.usian.filter")
@SpringBootApplication
public class DengluApplication {

 public static void main(String[] args) {
        SpringApplication.run(DengluApplication.class, args);

    }




        //2.冒泡排序
    /*public static void main(String[] args){
        int[] arr = {12,8,45,3,67};
        maopao(arr);
    }

    public static void maopao(int[] arr){
        for (int i = 0; i < arr.length ; i++) {
            for (int j = arr.length-1; j >= 1 ; j--) {
                if (arr[j]<arr[j-1]){
                    int a = arr[j];
                    arr[j] = arr[j-1];
                    arr[j-1] = a;
                }
            }
        }
        for (int v:arr ) {
            System.out.println(v);
        }
    }
*/

    /**
     * 有返回值的线程
     */



}
